<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <script type="text/javascript">
        <!--
        //document.write("<h1>This is my first javaScript</h1>");
        //-->
        // comment
        function message() {
            alert("warning!");
        }
    </script>
	<title></title>
</head>
<body>
    <script type="text/javascript">
        document.write("This message is written by js");
    </script>
    <br />
    <script src="xxx.js" type="text/javascript"></script>
    <script type="text/javascript">
        /* 
           multi-line comments
           yes
           */
    document.write("<h1>This is a heading</h1>"); //write heading
    // write a heading
    // write two paragraphs;
    document.write("<p>THis is a paragraph.</p>");
    document.write("<p>This is another paragraph.</p>");
    </script>

    <noscript>
    <p>You browser doesn't support javascript</p>
    </noscript>
</body>
</html>
